home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / misc / temgen.lha / Temgen / tg-0.11 / y.tab.h.precomp < prev   
Text File  |  2002-12-18  |  5KB  |  197 lines

  1. /* A Bison parser, made from tg.y, by GNU bison 1.75.  */
  2.  
  3. /* Skeleton parser for Yacc-like parsing with Bison,
  4.    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
  5.  
  6.    This program is free software; you can redistribute it and/or modify
  7.    it under the terms of the GNU General Public License as published by
  8.    the Free Software Foundation; either version 2, or (at your option)
  9.    any later version.
  10.  
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.  
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 59 Temple Place - Suite 330,
  19.    Boston, MA 02111-1307, USA.  */
  20.  
  21. /* As a special exception, when this file is copied by Bison into a
  22.    Bison output file, you may use that output file without restriction.
  23.    This special exception was added by the Free Software Foundation
  24.    in version 1.24 of Bison.  */
  25.  
  26. #ifndef BISON_Y_TAB_H
  27. # define BISON_Y_TAB_H
  28.  
  29. /* Tokens.  */
  30. #ifndef YYTOKENTYPE
  31. # define YYTOKENTYPE
  32.    /* Put the tokens into the symbol table, so that GDB and other debuggers
  33.       know about them.  */
  34.    enum yytokentype {
  35.      TOK_NUM = 258,
  36.      TOK_FLOAT = 259,
  37.      TOK_NAME = 260,
  38.      TOK_STRING = 261,
  39.      TOK_CHAR = 262,
  40.      TOK_DOL = 263,
  41.      TOK_DIV = 264,
  42.      TOK_DOT = 265,
  43.      TOK_COM = 266,
  44.      TOK_STAR = 267,
  45.      TOK_PLUS = 268,
  46.      TOK_MINUS = 269,
  47.      TOK_PLUSPLUS = 270,
  48.      TOK_MINUSMINUS = 271,
  49.      TOK_PLUS_S = 272,
  50.      TOK_MINUS_S = 273,
  51.      TOK_DIV_S = 274,
  52.      TOK_MUL_S = 275,
  53.      TOK_CLOSE = 276,
  54.      TOK_CLOSEB = 277,
  55.      TOK_NL = 278,
  56.      TOK_OPEN = 279,
  57.      TOK_OPENB = 280,
  58.      TOK_COLON = 281,
  59.      TOK_SCOL = 282,
  60.      TOK_AT = 283,
  61.      TOK_EQ = 284,
  62.      TOK_IN = 285,
  63.      TOK_EQEQ = 286,
  64.      TOK_LT = 287,
  65.      TOK_NE = 288,
  66.      TOK_GT = 289,
  67.      TOK_NOT = 290,
  68.      TOK_AND = 291,
  69.      TOK_OR = 292,
  70.      TOK_LTEQ = 293,
  71.      TOK_GTEQ = 294,
  72.      TOK_IF = 295,
  73.      TOK_ELSE = 296,
  74.      TOK_ENDIF = 297,
  75.      TOK_EMBED = 298,
  76.      TOK_EMIT = 299,
  77.      TOK_OUTPUT = 300,
  78.      TOK_LOCAL = 301,
  79.      TOK_PUSH = 302,
  80.      TOK_POP = 303,
  81.      TOK_FUNCTION = 304,
  82.      TOK_ENDFUNCTION = 305,
  83.      TOK_SWITCH = 306,
  84.      TOK_CASE = 307,
  85.      TOK_FOR = 308,
  86.      TOK_ENDSWITCH = 309,
  87.      TOK_ENDFOR = 310,
  88.      TOK_RETURN = 311,
  89.      TOK_BREAK = 312,
  90.      TOK_USE = 313,
  91.      TOK_EXIT = 314
  92.    };
  93. #endif
  94. #define TOK_NUM 258
  95. #define TOK_FLOAT 259
  96. #define TOK_NAME 260
  97. #define TOK_STRING 261
  98. #define TOK_CHAR 262
  99. #define TOK_DOL 263
  100. #define TOK_DIV 264
  101. #define TOK_DOT 265
  102. #define TOK_COM 266
  103. #define TOK_STAR 267
  104. #define TOK_PLUS 268
  105. #define TOK_MINUS 269
  106. #define TOK_PLUSPLUS 270
  107. #define TOK_MINUSMINUS 271
  108. #define TOK_PLUS_S 272
  109. #define TOK_MINUS_S 273
  110. #define TOK_DIV_S 274
  111. #define TOK_MUL_S 275
  112. #define TOK_CLOSE 276
  113. #define TOK_CLOSEB 277
  114. #define TOK_NL 278
  115. #define TOK_OPEN 279
  116. #define TOK_OPENB 280
  117. #define TOK_COLON 281
  118. #define TOK_SCOL 282
  119. #define TOK_AT 283
  120. #define TOK_EQ 284
  121. #define TOK_IN 285
  122. #define TOK_EQEQ 286
  123. #define TOK_LT 287
  124. #define TOK_NE 288
  125. #define TOK_GT 289
  126. #define TOK_NOT 290
  127. #define TOK_AND 291
  128. #define TOK_OR 292
  129. #define TOK_LTEQ 293
  130. #define TOK_GTEQ 294
  131. #define TOK_IF 295
  132. #define TOK_ELSE 296
  133. #define TOK_ENDIF 297
  134. #define TOK_EMBED 298
  135. #define TOK_EMIT 299
  136. #define TOK_OUTPUT 300
  137. #define TOK_LOCAL 301
  138. #define TOK_PUSH 302
  139. #define TOK_POP 303
  140. #define TOK_FUNCTION 304
  141. #define TOK_ENDFUNCTION 305
  142. #define TOK_SWITCH 306
  143. #define TOK_CASE 307
  144. #define TOK_FOR 308
  145. #define TOK_ENDSWITCH 309
  146. #define TOK_ENDFOR 310
  147. #define TOK_RETURN 311
  148. #define TOK_BREAK 312
  149. #define TOK_USE 313
  150. #define TOK_EXIT 314
  151.  
  152.  
  153.  
  154.  
  155. #ifndef YYSTYPE
  156. #line 99 "tg.y"
  157. typedef union {
  158.     struct int_rec {
  159.             int            val;
  160.             int            line;
  161.             int            start, end;
  162.     } i;
  163.  
  164.     struct float_rec {
  165.             float          val;
  166.             int            line;
  167.             int            start, end;
  168.     } f;
  169.     
  170.     struct char_rec {
  171.             char          *val;
  172.             int            line;
  173.             int            start, end;
  174.     } s;
  175.     
  176.     struct ptr_rec {
  177.             void          *val;
  178.             int            line;
  179.             int            start, end;
  180.     } p;
  181.     
  182.     struct line_rec {
  183.         int    line;
  184.         struct command *cmd;
  185.     } l;
  186. } yystype;
  187. /* Line 1281 of /usr/local/share/bison/yacc.c.  */
  188. #line 189 "y.tab.h"
  189. # define YYSTYPE yystype
  190. #endif
  191.  
  192. extern YYSTYPE yylval;
  193.  
  194.  
  195. #endif /* not BISON_Y_TAB_H */
  196.  
  197.